inspector: Add missing directory when scanning for themes
authorBenjamin Otte <otte@redhat.com>
Tue, 21 Oct 2014 18:30:07 +0000 (20:30 +0200)
committerBenjamin Otte <otte@redhat.com>
Tue, 21 Oct 2014 18:31:05 +0000 (20:31 +0200)
gtk/inspector/visual.c

index acd3c8e05fefdca89f56a923dbd739e55f4c9807..9e97501bad1c35d1b28819dacfc0233360557b85 100644 (file)
@@ -219,6 +219,10 @@ init_theme (GtkInspectorVisual *vis)
   fill_gtk (path, t);
   g_free (path);
 
+  path = g_build_filename (g_get_home_dir (), "themes", NULL);
+  fill_gtk (path, t);
+  g_free (path);
+
   settings = g_settings_new ("org.gnome.desktop.interface");
   current_theme = g_settings_get_string (settings, "gtk-theme");
   g_object_unref (settings);